package cn.xd.itstack.springframework.beans.factory.support;

import cn.xd.itstack.springframework.core.io.Resource;
import cn.xd.itstack.springframework.core.io.ResourceLoader;

/**
 * @Classname BeanDefinitionReader
 * @Description TODO
 * @Date 2022/5/16 下午2:28
 * @Created by lvxiaodong
 */
public interface BeanDefinitionReader {

    BeanDefinitionRegistry getRegistry();


    BeanDefinitionRegistry getBeanDefinitionRegistry();


    ResourceLoader getResourceLoader();


    void loadBeanDefinitions(Resource resource);

    void loadBeanDefinitions(Resource ...resources);


    void loadBeanDefinitions(String location);

    void loadBeanDefinitions(String... locations);

}
